<div class="mui-content">
    <div class="main">
        <div class="gz_detail">
            <h3>{$payslip_total}</h3>
            <p>{$month|strtotime|date='Y年m月',###}实发工资</p>
        </div>

        {if $payslip_list}
        {foreach $payslip_list as $item}
        <div class="fsjl_item2 mui-card">
            <div class="f_item_title active">{$payslip_type[$item.payslip_type]|default=''}<span class="mui-icon mui-icon-arrowup"></span></div>
            <div class="item_list show">
                {if $item.payslip_json}
                    {foreach $item.payslip_json as $name => $value}
                        {if $payslip_config.open_hidden_null == 1 && $value == ''}
                        {elseif $payslip_config.open_hidden_zero == 1 && $value == '0'}
                        {else}
                            <div class="item">
                                <span>{$name}</span><div>{$value|default='　'}</div>
                            </div>
                        {/if}
                    {/foreach}
                {/if}
            </div>
            <div class="item">
                <span>实发金额（元）</span>
                <div class="amount">{$item.payslip_total}</div>
            </div>
        </div>
        {/foreach}
        {/if}

        <div class="alert text-red">{$payslip_config.shuoming|htmlentities}</div>
    </div>
    <div class="nav but">
        <ul class="mui-table-view mui-grid-view">
            {if $can_feedback}
            <li class="mui-table-view-cell mui-col-xs-{:$can_feedback&&!$can_confirm?12:6}">
                <a href="{:url('index/feedback', ['month' => $month])}">我有疑问</a>
            </li>
            {/if}
            {if $can_confirm}
            <li class="mui-table-view-cell mui-col-xs-{:$can_confirm&&!$can_feedback?12:6}">
                <a class="qr_but" data-month="{$month}">确认工资信息</a>
            </li>
            {/if}
        </ul>
    </div>
</div>